<template>
  <section>
    <span v-if="row.vehicleTypeDesc"
          :class="classFlag">{{ row.vehicleTypeDesc || "--" }} | {{ row.vehicleLength || "--" }}米 |
      {{ row.vehicleCount || "--" }}车 | {{ row.vehicleVolume }}方 |
      {{ row.vehicleWeight }}吨</span>
    <span v-else
          :class="classFlag">--</span>
  </section>
</template>

<script>
export default {
  name: "VehicleModel",
  props: {
    row: {
      type: Object,
      default: () => { }
    },
    classFlag: {
      type: String,
      default: ""
    }
  },
  created () {
  }
};
</script>
<style lang="scss" scoped>
.red {
  color: var(--prev-color-text-red);
}
</style>
